#include <iostream>
using namespace std;

int main()
{
    const int a = 5;
    // int *p = &a;
    int *P = (int*)&a;
    cout << "*P = " << *P << endl;
    *P = 7;
    cout << "*P = " << *P << endl;
    return 0;
}